package com.hrms.domain;

import java.util.Date;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

@PersistenceCapable(detachable="true")
public class LastUserAction extends BusinessObjectImpl {
	
	@PrimaryKey
	private String userId;
	
	@Persistent//action timestamp
	private Date date;
	
	public LastUserAction(String userId, Date date) {
		super();
		this.userId = userId;
		this.date = date;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public Key getKey() {
		return null;
	}
	public void setKey(Key key) {
	}

}
